<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<!--
#    Copyright 2008, 2009, 2010, 2011  Tri-County Electric Cooperative, St. Matthews, South Carolina
#    This file is part of COOPIP.
#    COOPIP is free software: you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by
#    the Free Software Foundation, either version 3 of the License, or
#    (at your option) any later version.
#    COOPIP is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.
#    You should have received a copy of the GNU General Public License
#    along with COOPIP.  If not, see <http://www.gnu.org/licenses/>.

-->
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Status Data</title>
    <link rel="stylesheet" type="text/css" href="/style.css" />
    {{OpenLayersJavaScriptHeading|safe}}
    <style type="text/css">
        #map {
            float:right;
            width: 800px;
            height: 600px;
            border: 1px solid black;
        }
    </style>
</head>      
<body>


 <div id="map">
 {{OpenLayersJavaScript|safe}}
 </div>
<form method="post" action="">
<table>
    <tr><td>&nbsp</td><td><input value="Submit" type="submit"></td></tr>
    <tr><td>Start:</td><td>{{form.Start}}</td></tr>
    <tr><td>End:</td><td>{{form.End}}</td></tr>
    <tr><td>Vehicles:</td><td>{{form.Vehicles}}</td></tr>
    <tr><td>Label:</td><td>{{form.Label}}</td></tr>
</table>
</form>

<table>
<tr> {% for heading in Headings %}
    <th>{{heading}}</th>
    {% endfor %}
</tr>
{% for row in Report %}
    {% for item in row %}
        {% if forloop.first %}
            <tr class="{{item}}">
        {% else %}
        <td>{{item}}</td>
        {% endif %}
    {% endfor %}
    </tr>
{% endfor %}
</table>

</body>
</html>
